package com.study.networkProgram;

import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
import java.io.InputStream;

public class Demo {
    public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException {
        SAX sax = new SAX();
        InputStream xml = Demo.class.getResourceAsStream("/note.xml");
        sax.parse(xml);
    }
}
